
#include <GL/glew.h>
#include <GLFW/glfw3.h>

#include "include/MainEngine.h"
#include "GUI/include/GUI.h"

using namespace std;
using namespace GUI;

Window window(800, 600, "C++ game engine Cardinal", 3,3);

void rendering() {
    glClear(GL_COLOR_BUFFER_BIT);
    glClearColor(1.0f, 0.0f, 1.0f, 0.0f);
}

int RunGUI() {
    window.Update(rendering);
    //MainGUI();
    return 0;
}

int ECardinal::MainEngine() {
    //cout << "run engine" << endl;
    
    RunGUI();
    
    return 0;
}